SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE dbo.[DnnProduct_CDS_TemplatesCount]
	@DistributorID varchar(50)
AS
BEGIN
	SELECT count([ID])
	FROM DnnProduct_CDS_Templates
	WHERE DistributorID = @DistributorID
END
GO
